package com.xltq.service.impl;
import com.xltq.dao.ITypeDao;
import com.xltq.dao.impl.ITypeDaoImpl;
import com.xltq.entity.Type;
import com.xltq.service.ITypeService;

import java.util.List;

public class ITypeServiceImpl implements ITypeService {
    @Override
    public List<Type> findAll() throws Exception {
        ITypeDao typeDao = new ITypeDaoImpl();
        return  typeDao.selectAll();
    }
}
